﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.ParkManage
{
    [Table("AlarmRecord")]
    public class AlarmRecord : KeyEntity
    {
        /// <summary>
        /// 事件编号
        /// </summary>
        public string AlarmCode { get;set;}

        /// <summary>
        /// 设备名称
        /// </summary>
        public string EquipmentName {get;set;}

        /// <summary>
        /// 设备编号
        /// </summary>
         public string EquipmentNum { get;set;}

        /// <summary>
        /// 设备类型
        /// </summary>
        public int DeviceTypeId { get; set; }

        /// <summary>
        /// 设备位置
        /// </summary>
        public string EquipmentLoca { get; set; }

        /// <summary>
        /// 告警类型
        /// </summary>
        public int AlarmTypeId { get; set; }

        /// <summary>
        /// 告警时间
        /// </summary>
        public DateTime AlarmTime { get; set; }

        /// <summary>
        /// 告警级别
        /// </summary>
        public string AlarmSeverity { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string Picture { get; set; }

        /// <summary>
        /// 处理状态
        /// </summary>
        public bool Status { get; set; }
    }
}
